package com.atmilan.quartz.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.atmilan.quartz.mapper.XyyProductMapper;
import com.atmilan.quartz.model.entity.xyy.XyyProduct;
import com.atmilan.quartz.service.IXyyProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

@Service
public class XyyProductServiceImpl extends ServiceImpl<XyyProductMapper, XyyProduct> implements IXyyProductService {
    @Autowired
    XyyProductMapper xyyProductMapper;

    @Override
    public void deleteAll() {
        xyyProductMapper.deleteAll();
    }

    @Override
    public void copyAll() {
        xyyProductMapper.deleteProductBack();
        xyyProductMapper.copyProductBack();
    }
    
}
